package com.zmzncs.lmtc.module.promotion.pojo.ticket;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2020-10-09
 */
@Data
public class TicketDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "优惠券名称")
    private String ticketName;

    @ApiModelProperty(value = "使用界限金额")
    private BigDecimal useLimitMoney;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal preferentialMoney;

    @ApiModelProperty(value = "优惠信息")
    private String preferentialInfo;

    @ApiModelProperty(value = "优惠类型，1.满减 2.折扣")
    private Integer preferentialType;

    @ApiModelProperty(value = "使用类型，1.通用 2.时长 3.月租")
    private Integer useType;

    @ApiModelProperty(value = "有效期天数")
    private Integer expiryDays;

    @ApiModelProperty(value = "可用状态（0：不可用 1：可用 2：删除）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "已使用")
    private Long used;

    @ApiModelProperty(value = "已领取")
    private Long received;








}
